package com.ruoyi.project.business.domain;



import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import org.apache.commons.lang3.builder.ToStringBuilder;

import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;

import com.ruoyi.framework.web.domain.BaseEntity;



/**

 *  tgxs_notice_fresh

 * 

 * @author ruoyi

 * @date 2020-11-05

 */

public class TgxsNoticeFresh

{

    private static final long serialVersionUID = 1L;



    /** ID */

    private Long id;



    /** 用户ID */

    @Excel(name = "用户ID")

    private Long userId;



    /** 系统通知，0-无未读，1-有未读 */

    @Excel(name = "系统通知，0-无未读，1-有未读")

    private Integer isSys;



    /** 系统通知ID */

    @Excel(name = "系统通知ID")

    private Long sysNoticeId;



    /** 系统通知最新内容 */

    @Excel(name = "系统通知最新内容")

    private String sysNotice;



    /** 系统通知最新时间 */

    @JsonFormat(pattern = "yyyy-MM-dd")

    @Excel(name = "系统通知最新时间", width = 30, dateFormat = "yyyy-MM-dd")

    private Date sysNoticeSj;



    /** 消息推送，0-无未读，1-有未读 */

    @Excel(name = "消息推送，0-无未读，1-有未读")

    private Integer isMsg;



    /** 消息推送ID */

    @Excel(name = "消息推送ID")

    private Long msgNoticeId;



    /** 消息推送最新内容 */

    @Excel(name = "消息推送最新内容")

    private String msgNotice;



    /** 消息推送最新时间 */

    @JsonFormat(pattern = "yyyy-MM-dd")

    @Excel(name = "消息推送最新时间", width = 30, dateFormat = "yyyy-MM-dd")

    private Date msgNoticeSj;



    /** 是否删除，0-未删除，1-删除，默认为0 */

    @Excel(name = "是否删除，0-未删除，1-删除，默认为0")

    private Integer isDelete;



    /** 创建时间 */

    @JsonFormat(pattern = "yyyy-MM-dd")

    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")

    private Date gmtCreate;



    /** 修改时间 */

    @JsonFormat(pattern = "yyyy-MM-dd")

    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")

    private Date gmtModified;



    public void setId(Long id) 

    {

        this.id = id;

    }



    public Long getId() 

    {

        return id;

    }

    public void setUserId(Long userId) 

    {

        this.userId = userId;

    }



    public Long getUserId() 

    {

        return userId;

    }

    public void setIsSys(Integer isSys) 

    {

        this.isSys = isSys;

    }



    public Integer getIsSys() 

    {

        return isSys;

    }

    public void setSysNoticeId(Long sysNoticeId) 

    {

        this.sysNoticeId = sysNoticeId;

    }



    public Long getSysNoticeId() 

    {

        return sysNoticeId;

    }

    public void setSysNotice(String sysNotice) 

    {

        this.sysNotice = sysNotice;

    }



    public String getSysNotice() 

    {

        return sysNotice;

    }

    public void setSysNoticeSj(Date sysNoticeSj) 

    {

        this.sysNoticeSj = sysNoticeSj;

    }



    public Date getSysNoticeSj() 

    {

        return sysNoticeSj;

    }

    public void setIsMsg(Integer isMsg) 

    {

        this.isMsg = isMsg;

    }



    public Integer getIsMsg() 

    {

        return isMsg;

    }

    public void setMsgNoticeId(Long msgNoticeId) 

    {

        this.msgNoticeId = msgNoticeId;

    }



    public Long getMsgNoticeId() 

    {

        return msgNoticeId;

    }

    public void setMsgNotice(String msgNotice) 

    {

        this.msgNotice = msgNotice;

    }



    public String getMsgNotice() 

    {

        return msgNotice;

    }

    public void setMsgNoticeSj(Date msgNoticeSj) 

    {

        this.msgNoticeSj = msgNoticeSj;

    }



    public Date getMsgNoticeSj() 

    {

        return msgNoticeSj;

    }

    public void setIsDelete(Integer isDelete) 

    {

        this.isDelete = isDelete;

    }



    public Integer getIsDelete() 

    {

        return isDelete;

    }

    public void setGmtCreate(Date gmtCreate) 

    {

        this.gmtCreate = gmtCreate;

    }



    public Date getGmtCreate() 

    {

        return gmtCreate;

    }

    public void setGmtModified(Date gmtModified) 

    {

        this.gmtModified = gmtModified;

    }



    public Date getGmtModified() 

    {

        return gmtModified;

    }



    @Override

    public String toString() {

        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

            .append("id", getId())

            .append("userId", getUserId())

            .append("isSys", getIsSys())

            .append("sysNoticeId", getSysNoticeId())

            .append("sysNotice", getSysNotice())

            .append("sysNoticeSj", getSysNoticeSj())

            .append("isMsg", getIsMsg())

            .append("msgNoticeId", getMsgNoticeId())

            .append("msgNotice", getMsgNotice())

            .append("msgNoticeSj", getMsgNoticeSj())

            .append("isDelete", getIsDelete())

            .append("gmtCreate", getGmtCreate())

            .append("gmtModified", getGmtModified())

            .toString();

    }

}
